package com.yykj.common.constant;

/**
 * Created by chendg on 2018/1/9 0009.
 */
public interface RedisConstant {

    String TOKEN_PREFIX = "yykj_%s_%s_%s";

    Integer EXPIRE = 36000; // 单位秒

    Integer MESSAGE_EXPIRE = 300;//单位秒

    Integer TOKEN_EXPIRE = 86400 * 7;

    Integer LOGIN_EXPIRE = 86400 * 7;

    Integer EXPIRE_DAY = 86400;

    Long LOCK_TIME_OUT = 10000L;// 单位毫秒

    Integer EXPIRE_HOUR = 3600;

}
